<table class="layui-table">
    <colgroup>
        <col width="60">
        <col width="60">
        <col>
    </colgroup>
    <thead>
    <tr>
        %th%
        <th>操作</th>
    </tr>
    </thead>
    <tbody>
    {foreach $list as $key=>$vo }
    <tr>
        %td%
        <td>
            <div class="layui-btn-group">
                <!--<a href="{:url('create',['parent_id'=>$vo.id])}" class="layui-btn layui-btn-xs">增加</a>-->
                <a href="{:url('update',['id'=>$vo.id])}" class="layui-btn layui-btn-xs layui-btn-normal">编辑</a>
                <a href="{:url('delete',['id'=>$vo.id])}" class="layui-btn layui-btn-xs layui-btn-danger">删除</a>
                <a href="{:url('view',['id'=>$vo.id])}" class="layui-btn layui-btn-xs layui-btn-primary">查看</a>
            </div>
        </td>
    </tr>
    {/foreach}
    </tbody>
</table>